// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import FastClick from 'fastclick'
import router from './router'
import store from './store'
import App from './App'
import { LoadingPlugin } from 'vux'
import VueLazyLoad from 'vue-lazyload'

FastClick.attach(document.body)
Vue.use(LoadingPlugin)
Vue.use(VueLazyLoad, {
    error: require('./assets/default.jpg'),
    loading: require('./assets/default.jpg')
})

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app-box')